package kordegi.forumsystem.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author kordegi
 * @date 2022.05.02 9:53
 * @Description
 */

@Data
public class LoginDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
